﻿function getUser() {
    return document.getElementById("username").value;
}

function getEmail() {
    return document.getElementById("email").value;
}

function getComment() {
    return document.getElementById("comment").value;
}

var gBook;
function addComment() {
    document.write('<p><a href="mailto:' + getEmail() + '">' + getUser + '</a></p>')
}

function addCom() {
    document.write(getUser());
}